When End Task is selected from the Task List it sends a WM_CLOSE message to the VB apps "invisible parent" window (classname ThunderRTMain) who does not pass it on. ENTASK.DLL hooks into this window and redirects the message to a form of your choice.